package dao

import "gorm.io/gorm"

type Introduction struct {
	gorm.Model
	UserId int    `json:"userId" gorm:"int(10);not null;comment:'用户编号'"`
	Name   string `json:"name" gorm:"type:varchar(50);not null;comment:'攻略名称'"`
	Cover  string `json:"cover" gorm:"type:varchar(255);not null;comment:'封面'"`
	Intro  string `json:"intro" gorm:"type:text;not null;comment:'攻略内容'"`
}
